"""
图灵机器人？
"""


def response(hey_bob: str):
    """
    robot answer
    :param hey_bob: string your quesiton.
    :return: string bob's answer
    """
    hey_bob = hey_bob.strip()
    if len(hey_bob) == 0:
        return 'Fine. Be that way!'
    elif hey_bob.isalpha() and hey_bob.endswith('?') and hey_bob.upper() == hey_bob:
        return "Calm down, I know what I'm doing!"
    elif hey_bob.upper() == hey_bob:
        return 'Whoa, chill out!'
    elif hey_bob.endswith('?'):
        return 'Sure.'
    else:
        return 'Whatever.'
